package com.sakura.mall.coupon.seckillSkuNotice.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.coupon.seckillSkuNotice.domain.entity.SeckillSkuNoticeEntity;
import com.sakura.mall.coupon.seckillSkuNotice.domain.request.AddSeckillSkuNoticeRequest;
import com.sakura.mall.coupon.seckillSkuNotice.domain.request.UpdateSeckillSkuNoticeRequest;
import com.sakura.mall.coupon.seckillSkuNotice.domain.request.SeckillSkuNoticePageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.coupon.seckillSkuNotice.domain.vo.SeckillSkuNoticeVo;

/**
 * 秒杀商品通知订阅 service
 *
 * @author sakura
 */
public interface SeckillSkuNoticeService extends IService<SeckillSkuNoticeEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SeckillSkuNoticeVo> queryPage(SeckillSkuNoticePageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSeckillSkuNoticeRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSeckillSkuNoticeRequest request);
}
